package D1;

public class Java05 {
    public static void main(String[] args) {
        //包装类数据类型转化
        String agestr = "29";
        int age1 = Integer.parseInt(agestr);//将字符串类型转化为数值类型
        String scorestr = "3.14";
        double score = Double.parseDouble(scorestr);
        Integer a = 23;
        String s1 = Integer.toString(a);
        String s2 = a.toString();
        String s3 = a+"";
        String s4 = String.valueOf(a);
    }
}
